package com.chen.blog;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;

@MapperScan("com.chen.blog.dao")
@SpringBootApplication
@ServletComponentScan
@EnableCaching
public class BlogApplication {

    public static void main(String[] args) {
        //Jar 模式启动器
        SpringApplication.run(BlogApplication.class, args);
    }
}
